#include "classes.h"
#include <iostream>
//#include <string>

//using std::string;

void B1::vf(){
	std::cout << "B1::vf()" << std::endl;
}

void B1::f(){
	std::cout << "B1::f()" << std::endl;
}

void D1::vf(){
	std::cout << "D1::vf()" << std::endl;
}

void D1::f(){
	std::cout << "D1::f()" << std::endl;
}

void D2::pvf(){
	std::cout << "D2::pvf()" << std::endl;
}

D21::D21(const std::string& ns){
    str = ns;
}

D22::D22(int ns){
    num = ns;
}

void D21::pvf() const {
    std::cout << str << std::endl;
}

void D22::pvf() const{ 
    std::cout << num << std::endl;
}
